package ar.edu.itba.pod.legajo47573;

import org.jgroups.Address;

public class UpDownNode {

	private Address node;
	private ViewAcceptedMsg msg;
	
	public UpDownNode(Address node, ViewAcceptedMsg msg){
		this.node = node;
		this.msg = msg;
	}
	
	public Address getNode() {
		return node;
	}
	
	public ViewAcceptedMsg getMsg() {
		return msg;
	}
	
	@Override
	public String toString() {
		return "NODE: " + node + "/ " + "MSG: " + msg;
	}
}
